﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;

namespace DataShow.codeBLL
{
    public class UserBLL
    {
        #region 登录
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="username">用户名</param>
        /// <param name="password">密码</param>
        /// <returns></returns>
        public bool Login(string username, string password)
        {
            DataTable dt = new codeDAL.UserProcess().Login(username, password);
            return dt.Rows.Count > 0;
        } 
        #endregion
    }
}